package top.aprillie.mamabike.user.service;

import org.springframework.web.multipart.MultipartFile;
import top.aprillie.mamabike.common.exception.MaMaBikeException;
import top.aprillie.mamabike.user.entity.User;

/**
 * @Author: illure
 * @Description:
 * @Date: Created in 22:37 2018/2/3
 * @Modified By:
 */
public interface UserService {

    String login(String data, String key) throws MaMaBikeException;

    void modifyNickname(User user) throws MaMaBikeException;

    void sendVercode(String mobile, String ip) throws MaMaBikeException;

    String uploadHeadImg(MultipartFile file, Long userId) throws MaMaBikeException;
}
